package com.lqq.demo10;

public class Test {
    public static void main(String[] args) {
        Vehicle v = new Car();
        System.out.println(v.getSumRent(2));
        v = new Bus();
        System.out.println(v.getSumRent(1));
    }
}
